package com.qyhl.webtv.module_live.teletext.program;


import com.qyhl.webtv.commonlib.entity.live.ProgramDetailBean;

/**
 * Created by qyhl on 2018/1/4.
 */

public interface LiveNormalContract {
    interface LiveNormalView {
        void setDetail(ProgramDetailBean bean);

        void setNetError(String msg);

        void setError(String msg);

        void setEmpty(String msg);

        void getPathError(String msg);

        void getPathSuccess(String url);

        void cancel();

    }

    interface LiveNormalPresenter {
        void getList(String proId);

        void getDetail(String proId);

        void getPlayPath(String name, String startTime, String endTime);

        void setDetail(ProgramDetailBean bean);

        void setDetailError(int code, String msg);

        void getPathError(String msg);

        void getPathSuccess(String url);

        void cancel();

        void click(String proId);
    }

    interface LiveNormalModel {
        void getList(String proId);

        void getDetail(String proId);

        void getPlayPath(String name, String startTime, String endTime);

        void click(String proId);
    }
}
